package com.egao.common.module.student.constants;

/**
 * 学生推荐常量工具类
 * @author dl
 */
public class StudentRecommendConstants {

    /** 操作记录招聘信息model */
    public static final String MODEL_RECRUIT = "招聘信息";
    /** 操作记录校内宣讲会model */
    public static final String MODEL_PREACH = "校内宣讲会";
    /** 操作记录空中宣讲会model */
    public static final String MODEL_PREACH_CLOUD = "空中宣讲会";


    /** 操作记录招聘信息model */
    public static final String MODEL_RECRUIT_TYPE = "1";
    /** 操作记录校内宣讲会model */
    public static final String MODEL_PREACH_TYPE = "2";
    /** 操作记录空中宣讲会model */
    public static final String MODEL_PREACH_CLOUD_TYPE = "3";


    /** 推荐总条数 */
    public static final Integer RECOMMEND_TOTAL = 30;


    /** 操作记录操作编号 */
    public static final String PARAM = "id";

    /** 有效数据 */
    public static final String VALID = "0";

    public static String getType(String name) {
        String type = null;
        switch (name) {
            case MODEL_RECRUIT: type = MODEL_RECRUIT_TYPE;break;
            case MODEL_PREACH: type = MODEL_PREACH_TYPE;break;
            case MODEL_PREACH_CLOUD: type = MODEL_PREACH_CLOUD_TYPE;break;
            default: break;
        }
        return type;
    }
}
